package com.yupi.springbootinit.model.dto.book;

import com.yupi.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 查询请求
 *
 * @author wzh
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BookQueryRequest extends PageRequest implements Serializable {

    /**
     * 书本名称
     */
    private String name;

    /**
     * 书本单本价格
     */
    private Double price;

    /**
     * 库存
     */
    private Integer Inventory;

}